Skip to content
  • 4 Votes
    3 Posts
    4k Views
    S

    @Pt_develop hi Can you share the example of what you did
    How you created the desktop shortcut and copied it.

  • 0 Votes
    11 Posts
    4k Views
    RatzzR

    @Sargamon
    Once your problem is solved please use the Topic Tools button to mark as Solved.
    Thank you!

  • 0 Votes
    2 Posts
    1k Views
    J

    I just noted that without the '*' it does work, in other words, the following works:

    QFrame[styleAsPresetPanel="true"] QPushButton, QFrame[styleAsPresetPanel="true"] QCheckBox { /* stylesheet */ }

    Allthough this is enough for me to continue for now, my original question remains. I'd expect this to work with the '*' as well, but that doesn't seem to work. Is that a bug I should file, or are my expectations wrong?

  • 0 Votes
    4 Posts
    5k Views
    RatzzR

    @koahnig
    Yes .

  • 0 Votes
    4 Posts
    2k Views
    Y

    @maximus Yes, I decided not to do it.

  • 0 Votes
    8 Posts
    7k Views
    J

    Hi @JKSH, @Leonardo,

    Many thanks for your tips and apologies for delay. I got distracted by another task, but will get back to this one again.

    Just to report what happened so far. All my attempts on one machine failed. Switching to another computer I managed to to statically build Qt and Qt Creator once (using your receipts), but failed to reproduce that again. I'm putting all this down to my inexperience on Windows platform. However, I have learnt a lot and I'll get back to this problem again.

    BTW, working with VS is not as scary as it originally looked :-). Once I managed to install it, that is. The installation of VS was a pain as due to my inexperience and some bugs. E.g. installing VS via RDC produces a transparent window - I waiting for hours for something to happen, then tried another version of VS, ...

    Best,
    J.

  • 0 Votes
    8 Posts
    4k Views
    TheBadgerT

    @Algae said:

    I changed it to a / delimiter and it did not notice any difference--still get the link error

    This would not have done anything related to the linker error, just a comment.

    The file I believe I'm linking to is named libtcl.dll.a

    Then I suppose it should be tcl.dll. I should have paid more attention, since it says "file format not recognized" it does mean that it finds the file, thus your link command is correct.

    Might it be that you are trying to compile with 32-bit compiler and link to 64-bit lib?
    This is just a guess, I see you say you use cygwin 64, just check the architectures.

    Apart from these comments I don't think I can help, sorry.

  • 0 Votes
    7 Posts
    4k Views
    JKSHJ

    @David.G said:

    I think what @JKSH is referring to is -opengl dynamic

    That's right.

    which is what I'm also using in my windows builds since it's pretty convenient.

    The official builds of Qt 5.5 use it too. The OP doesn't need to create a custom build; just download and install.

    You can read more on it here: http://doc.qt.io/qt-5/windows-requirements.html#dynamically-loading-graphics-drivers

    Thanks for the link!

  • 0 Votes
    2 Posts
    939 Views
    mrjjM

    @jitu059_Lalat
    Hi and welcome
    I'm not aware of any Qt object that would allow you to do that.

    you can have a look at
    http://www.ftdichip.com/Support/Documents/AppNotes/AN_152_Detecting_USB_ Device_Insertion_and_Removal.pdf

    for c sample of how to do it natively in windows.

  • 0 Votes
    7 Posts
    3k Views
    B

    @SGaist said:

    Hi and welcome to devnet,

    Do you have the idea of building a website using Qt ? Or do you want some backend code be run using Qt ?

    as for web programming, QT is not the best bet, mate. It's a great tool for building cross-platform apps [EDIT: Link removed --JKSH]. And it has a big potential on this for individual devs

  • 0 Votes
    1 Posts
    776 Views
    No one has replied
  • 0 Votes
    5 Posts
    2k Views
    SGaistS

    I was thinking about an update to the dependencies from MinGW but indeed, it doesn't look like it happened.

  • 0 Votes
    1 Posts
    849 Views
    No one has replied
  • 0 Votes
    9 Posts
    10k Views
    A

    @sassanh said in Maintenance Tool reports corrupted installation:

    @Asperamanca
    How did you edit MaintenanceTool.dat file? It's a binary file containing xml data and some binary characters between tags. When I remove a single character in it running MaintenanceTool shows errors like this:
    Cannot seek to -15118 to read the operation data.

    I don't remember exactly. I changed only XML parts, and it worked for me. But that was before the major update to the Maintenance tool that came recently. Maybe they added a CRC check on the file, or something like this.

  • 0 Votes
    3 Posts
    1k Views
    C

    @SGaist thanks , I have actually compiled without the script no errors thought while compiling, but I'm not sure if the errors will popup when i start using the build, but it would be really useful for future builds also I'm compiling OpenCV , so here is my installation paths :

    DirectX SDK : C:\Program Files\Microsoft DirectX SDK (June 2010)
    Microsoft SDK : C:\Program Files\Microsoft SDKs
    MSVC : C:\Program Files\Microsoft Visual Studio 12.0
    .NET : C:\Program Files\Microsoft.NET
    OpenSSL : C:\OpenSSL-Win32
    Qt source : C:\Qt\5.4.1

    thanks again for your time

  • 0 Votes
    2 Posts
    4k Views
    S

    @swankster
    Solution was, finding this gem https://github.com/kivy/kivy/wiki/Creating-a-64-bit-development-environment-with-MinGW-on-Windows then making a few modifications. Basically rebuilding MySQL Connector.C 6.1\lib\libmysql.dll with gendef.exe
    will need to Install Ruby x64, I used (rubyinstaller-2.2.2-x64.exe)
    set Ruby...\bin to System Variables.
    copy C:\Program Files\MySQL\MySQL Connector.C 6.1 to C: and rename as \mysql-connector
    open cmd window
    C:\mysql-connector\lib
    > gendef.exe libmysql.dll
    > dlltool -v --dllname libmysql.dll --def libmysql.def --output-lib libmysql.lib
    > gem install mysql2 --no-rdoc --no-ri -- '--with-mysql-lib="C:\mysql-connector\lib" --with-mysql-include="C:\mysql-connector\include"'

    copy c:\mysql-connector\lib\libmysql.lib
    to c:\Program Files\MySQL\MySQL Server 5.6\lib

    copy c:\Ruby22-x64\lib\ruby\gems\2.2.0\gems\mysql2-0.3.18-x64-mingw32\vendor\libmysql.dll
    to c:\Program Files\MySQL\MySQL Server 5.6\lib

    Now build MySql Driver for QT. I used third party QT 64 from http://www.tver-soft.org/qt64
    put in System Variables
    C:\Qt\5.4.1-x64\mingw492r1-sjlj-rev1\qt-5.4.1-x64-mingw492r1-sjlj-rev1\bin;
    C:\Qt\5.4.1-x64\mingw492r1-sjlj-rev1\mingw64\bin;
    C:\Qt\5.4.1-x64\mingw492r1-sjlj-rev1\mingw64\lib
    Create QT cmd window (needs custom qtenv.bat file, copied from other QT version and modified for x64)
    from QT cmd x64

    set mysql=C:\PROGRA~1\MySQL\MYSQLS~1.6 (must be short names)
    cd c:\Qt\qt-5.4.1-src\qtbase\src\plugins\sqldrivers\mysql
    qmake "INCLUDEPATH+=%mysql%\include" "LIBS+=%mysql%\lib\libmysql.lib" -o Makefile mysql.pro
    mingw32-make

    copy qsqlmysql.dll and qsqlmysqld.dll from C:\Qt\qt-5.4.1-src\qtbase\plugins\sqldrivers to c:\Qt\5.4.1-x64\mingw492r1-sjlj-rev1\qt-5.4.1-x64-mingw492r1-sjlj-rev1\plugins\sqldrivers

    copy %mysql%\lib\libmysql.dll c:\windows

    Hope this helps someone else save a few days worth of time and aggravation.